package org.jeecg.modules.flowable.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.flowable.entity.FlowOperationInfo;

import java.io.Serializable;
import java.util.List;

@Data
@TableName(value = "flow_model")
@ApiModel(value = "flow_model视图对象", description = "流程模型管理")
public class FlowModelVO implements Serializable {

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.NONE)
    private String id;

    @ApiModelProperty(value = "模型key", required = true)
    private String key;

    @ApiModelProperty(value = "模型名称", required = true)
    private String name;

    @ApiModelProperty(value = "模型xml文档", required = true)
    private String xml;

    @ApiModelProperty(value = "分类id", required = true)
    private Long categoryId;

    @ApiModelProperty(value = "分类名称", required = true)
    private String categoryName;

    @ApiModelProperty(value = "使用状态")
    private Integer useStatus;

    @ApiModelProperty(value = "流程定义id")
    private String processDefinitionId;

    @ApiModelProperty(value = "流程定义key")
    private String processDefinitionKey;

    @ApiModelProperty(value = "业务表单key")
    private String businessKey;


    private transient List<FlowOperationInfo> flowOperationInfoList;


}
